package com.jingdianjichi.subject.application.comvert;


import com.jingdianjichi.subject.application.dto.SubjectLabelDTO;

import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * 标签dto的转换
 */
@Mapper
public interface SubjectLabelDTOConverter {
    SubjectLabelDTOConverter INSTANCE=Mappers.getMapper(SubjectLabelDTOConverter.class);
    SubjectLabelBO convertDtoToLabelBO(SubjectLabelDTO subjectLabelDTO);

    List<SubjectLabelDTO> convertLabelBOListToDtoList(List<SubjectLabelBO> labelBOList);
}
